fix(backstage): add volume for extension catalog entities [RHIDP-11293] - #293
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Type(Describe updated until commit 1742961)Enhancement, Bug fix Description
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Configuration changes |
| ||||
| Documentation |
| ||||
| Tests |
| ||||
| Enhancement |
|
PR Code Suggestions ✨No code suggestions found for the PR. |
97c21c3 to
8585148
Compare
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
Fortune-Ndlovu
left a comment
There was a problem hiding this comment.
look good to me, thanks @rm3l should we also update docs looking at the current documentation, it only mentions plugin configurations, but the PR adds support for catalog entities as well. A small update would be helpful. e.g.:
When the catalog index image is configured, the chart extracts catalog entities to `/extensions` inside the Backstage container. For backward compatibility, the entities are also available at `/marketplace` (read-only).Because this requires potential updates to `upstream.backstage.extraVolumes` for cases where it was overridden.
No need for the legacy /marketplace for backward compatibility. This requires redhat-developer/rhdh#3988 to be merged. Co-authored-by: Gennady Azarenkov <gazarenkov@gmail.com>
Co-authored-by: Fortune Ndlovu <fndlovu@redhat.com>
6d23a25 to
eafa3d9
Compare
Done. See eafa3d9 |
…-volume-into-the-rhdh-pod-and-set-catalog-entities-extraction-dir-to-it
…-volume-into-the-rhdh-pod-and-set-catalog-entities-extraction-dir-to-it
|
|
redhat-developer/rhdh#3988 merged! /hold cancel |



Description
As discussed in https://redhat-internal.slack.com/archives/C04CUSD4JSG/p1767790419980379, we need to extract the catalog entities from the index image to the
/marketplace(to be replaced by/extensionsin redhat-developer/rhdh-plugins#2006) folder, so that the extensions backend providers can automatically discover them. Otherwise, there are no plugins displayed in the RHDH Extensions UI.redhat-developer/rhdh#3970 added support for specifying the extraction dir via a new
CATALOG_ENTITIES_EXTRACT_DIRenv var, which we now need to set in the Install Methods (and additionally add the right volume mounts - we cannot create that folder right in the main container because the root filesystem is read-only for security purposes).On hold until redhat-developer/rhdh#3988 is merged.
Which issue(s) does this PR fix or relate to
How to test changes / Special notes to the reviewer
Before
With the changes here
Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Usepre-commit run -ato apply changes. The pre-commit Workflow will do this automatically for you if needed.pre-commithook.ct lintcommand.